<% userID = resData.userID %>
<% resumeID = resData.resumeID %>
<% baseDetail = resData.baseDetail %>
<% postList = resData.postList %>
<% languageDetail = resData.languageDetail %>
<% workExperienceList = resData.workExperienceList %>
<% projectList = resData.projectList %>
<% edutionList = resData.edutionList %>
<% l_skillList = resData.l_skillList %>
<% o_skillList = resData.o_skillList %>
<% selfLabel = resData.selfLabel %>
<% resumeGmtUpdate = resData.resumeGmtUpdate %>
<link rel="stylesheet" href="/static/js/jquery.selectmenu.css">
<div class="content my-page resume captureElem">
    <section class="resume-bar resume_bar fixed">
        <aside class="resume-nav">
            <div class="file">
                <div class="title">
                    附件简历
                    <input type="file"
                           class="hidden uploadResumeFile"
                           accept="image/jpg,image/jpeg,image/png,application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document">
                </div>
                <div class="files"></div>
            </div>
            <div class="online">
                <a class="position_nav current" href="#resume_base">基本信息</a>
                <a class="position_nav" href="#resume_post">期望职位</a>
                <a class="position_nav" href="#resume_language">语言信息</a>
                <a class="position_nav" href="#resume_work">工作经历</a>
                <a class="position_nav" href="#resume_project">项目经历</a>
                <a class="position_nav" href="#resume_education">教育经历</a>
                <a class="position_nav" href="#resume_skill">技能证书</a>
                <a class="position_nav" href="#resume_self">自我评价</a>
            </div>
        </aside>
    </section>
    <input type="hidden" class="resumeID" value="<%= resumeID %>">
    <input type="hidden" class="userID" value="<%= userID %>">
    <input type="hidden" class="userName" value="<%= baseDetail.userName %>">
    <section class="resume-cnt">
        <div class="resume-item">
            <div class="target-title" id="resume_base"></div>
            <div class="resume-base infoItem <%= !baseDetail.userName && 'hidden' %>">
                <div class="img uploadImg">
                    <img class="userHead" src="<%= baseDetail.userHead ? baseDetail.userHead : '/public/images/user-head.png' %>" alt="">
                    <div class="cover uploadImage"
                         data-tips="仅支持png/jpg/jpeg/gif格式图片，大小不超过5M"
                         onmouseenter="layer.tips(this.getAttribute('data-tips'), '.uploadImage', {tips: 3, time: 30000})"
                         onmouseleave="$('.layui-layer-tips').remove()"></div>
                    <label for="uploadImageFile" class="hidden">
                        <input type="file" class="uploadImageFile" accept="image/gif,image/png,image/jpg,image/jpeg">
                    </label>
                </div>
                <div class="cnt">
                    <a href="javascript:;" class="edit-icon toggle_form base_form">编辑</a>
                    <div class="data"><%= JSON.stringify(baseDetail) %></div>
                    <h3><%= baseDetail.userName || '--' %></h3>
                    <div>
                        <%= baseDetail.sex %>
                        <%= ' / '+baseDetail._workYear %>
                        <%= baseDetail.degree ? (' / '+baseDetail.degree + '学历') : '' %>
                        <%= ' / '+baseDetail._birthday %></div>
                    <div>
                        <span class="tel"><%= baseDetail.phone %></span>
                        <span class="email"><%= baseDetail.email %></span>
                    </div>
                    <div><%= baseDetail.status %></div>
                </div>
            </div>
            <div class="resume-title fillItem <%= baseDetail.userName && 'hidden' %>">基本信息 </div>
            <form class="layui-form baseForm fillItem <%= baseDetail.userName && 'hidden' %>">
                <div class="layui-form-item">
                    <label class="layui-form-label">真实姓名</label>
                    <input type="text" name="realName" class="layui-input" autocomplete="off" required lay-verify="required" placeholder="请输入">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">当前求职状态</label>
                    <input type="text" name="status" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">性别</label>
                    <input type="text" name="gender" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">出生年月</label>
                    <input type="text" name="birth" class="layui-input date-input birthTime" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">参加工作时间</label>
                    <input type="text" name="startWork" class="layui-input date-input startWorkTime" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">国家/地区</label>
                    <input type="text" name="nation" class="layui-input select-icon post_pickerNation" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">常住地址</label>
                    <input type="text" name="location" class="layui-input select-icon post_pickerPCA" readonly required lay-verify="required" placeholder="请选择">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系电话</label>
                    <input type="text" name="telephone" class="layui-input" autocomplete="off" required lay-verify="telephone" placeholder="请输入">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">电子邮箱</label>
                    <input type="text" name="email" class="layui-input" autocomplete="off" required lay-verify="email" placeholder="请输入">
                </div>
                <div class="layui-form-item max">
                    <button class="layui-btn" type="button" lay-submit lay-filter="resume_base_btn">确定</button>
                    <% if(baseDetail.userName){ %>
                        <button class="layui-btn layui-btn-primary toggle_form" type="button">取消</button>
                    <% } %>
                </div>
            </form>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_post"></div>
            <div class="resume-title">期望职位
                <%- postList.length < 3 ? '<a href="javascript:;" class="add-icon add_form">添加</a>' : '' %>
            </div>
            <div class="resume-post">
                <% if(postList.length){ %>
                    <% var isDel = postList.length > 1 %>
                    <% for(var i = 0; i<postList.length; i++){ %>
                        <% var item = postList[i] %>
                        <div class="item">
                            <div><%= item.positionTitle %>：</div>
                            <span>工作类型：<%= item.positionProperty %></span>
                            <span>工作城市：<%= item.province ? item.city : item.country %></span>
                            <span>薪资要求：<%= item.salaryFloor/1000 + '-' + item.salaryCeiling/1000 + 'K' %></span>
                            <% if(isDel){ %>
                                <a href="javascript:;" class="del del_item" data-id="<%= item.id %>" data-type="resume_post">删除</a>
                            <% } %>
                            <a href="javascript:;" class="edit edit_item" data-type="resume_post">编辑</a>
                            <div class="data"><%= JSON.stringify(item) %></div>
                        </div>
                    <% } %>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_language"></div>
            <div class="resume-title">语言信息
                <% if(languageDetail.motherTongue){ %>
                    <a href="javascript:;" class="edit-icon edit_item edit_lan" data-type="resume_language">编辑</a>
                    <div class="data"><%= JSON.stringify(languageDetail) %></div>
                <% }else{ %>
                    <a href="javascript:;" class="add-icon add_form">添加</a>
                <% } %>
            </div>
            <div class="resume-language">
                <% if(languageDetail.motherTongue){ %>
                    <div class="item">
                        <div>母语：</div>
                        <span><%= languageDetail.motherTongue %></span>
                        <span>翻译年限：<%= languageDetail.translateYear %></span>
                    </div>
                    <div class="item">
                        <div>第一外语：</div>
                        <span><%= languageDetail.firstLanguage %></span>
                        <span>等级：<%= languageDetail.firstLanguageLevel %></span>
                    </div>
                    <% if(languageDetail.secondLanguage){ %>
                        <div class="item">
                            <div>第二外语：</div>
                            <span><%= languageDetail.secondLanguage %></span>
                            <span>等级：<%= languageDetail.secondLanguageLevel %></span>
                        </div>
                    <% } %>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_work"></div>
            <div class="resume-title">工作经历
                <a href="javascript:;" class="add-icon add_form">添加</a>
            </div>
            <div class="resume-item-cnt">
                <% if(workExperienceList.length){ %>
                    <% var isDel = workExperienceList.length > 1 %>
                    <% for(var i = 0; i<workExperienceList.length; i++){ %>
                        <% var item = workExperienceList[i] %>
                        <div class="item">
                            <h5><%= item.companyName %>
                                <% if(isDel){ %>
                                    <a href="javascript:;" class="del del_item" data-id="<%= item.id %>" data-type="resume_work">删除</a>
                                <% } %>
                                <a href="javascript:;" class="edit edit_item" data-type="resume_work">编辑</a>
                                <div class="data"><%= JSON.stringify(item) %></div>
                            </h5>
                            <div class="short">
                                <span title="<%= item.positionName %>">职位名称：<%= item.positionName %></span>
                                <span>在职时间：<%= item.startDatetime %> ~ <%= item.endDatetime %></span>
                                <span>工作地点：<%= item.city && item.city || item.province %></span>
                            </div>
                            <div class="cnt"><%- item.workDescribe.replace(/\n/g, '<br>') %></div>
                        </div>
                    <% } %>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_project"></div>
            <div class="resume-title">项目经历
                <a href="javascript:;" class="add-icon add_form">添加</a>
            </div>
            <div class="resume-item-cnt">
                <% if(projectList.length){ %>
                    <% var isDel = projectList.length > 1 %>
                    <% for(var i = 0; i<projectList.length; i++){ %>
                        <% var item = projectList[i] %>
                        <div class="item">
                            <h5><%= item.projectName %>
                                <% if(isDel){ %>
                                    <a href="javascript:;" class="del del_item" data-id="<%= item.id %>" data-type="resume_project">删除</a>
                                <% } %>
                                <a href="javascript:;" class="edit edit_item" data-type="resume_project">编辑</a>
                                <div class="data"><%= JSON.stringify(item) %></div>
                            </h5>
                            <div class="short">
                                <span title="<%= item.companyName %>">企业名称：<%= item.companyName %></span>
                                <span>项目时间：<%= item.startDatetime %> ~ <%= item.endDatetime %></span>
                            </div>
                            <div class="cnt"><%- item.projectDescribe.replace(/\n/g, '<br>') %></div>
                        </div>
                    <% } %>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_education"></div>
            <div class="resume-title">教育经历
                <a href="javascript:;" class="add-icon add_form">添加</a>
            </div>
            <div class="resume-item-cnt">
                <% if(edutionList.length){ %>
                    <% var isDel = edutionList.length > 1 %>
                    <% for(var i = 0; i<edutionList.length; i++){ %>
                        <% var item = edutionList[i] %>
                        <div class="item">
                            <h5><%= item.graduatedSchoolName %>
                                <% if(isDel){ %>
                                    <a href="javascript:;" class="del del_item" data-id="<%= item.id %>" data-type="resume_education">删除</a>
                                <% } %>
                                <a href="javascript:;" class="edit edit_item" data-type="resume_education">编辑</a>
                                <div class="data"><%= JSON.stringify(item) %></div>
                            </h5>
                            <div class="short">
                                <span title="<%= item.major %>">专业名称：<%= item.major %></span>
                                <span>在校时间：<%= item.startDate %> ~ <%= item.graduatedDate %></span>
                                <span>学历信息：<%= item.degree %></span>
                            </div>
                            <div class="cnt"><%- item.schoolExperience && item.schoolExperience.replace(/\n/g, '<br>') %></div>
                        </div>
                    <% } %>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_skill"></div>
            <div class="resume-title">技能证书（选填） <a href="javascript:;" class="add-icon add_form">添加</a></div>
            <div class="resume-skill">
                <% if(l_skillList.length){ %>
                    <div class="item">
                        <div class="type">语言类证书：</div>
                        <ul class="cnt">
                            <% for(var i = 0; i<l_skillList.length; i++){ %>
                                <% var item = l_skillList[i] %>
                                <li>
                                    <img src="<%= item.userCertificatePath ? item.userCertificatePath : '/public/images/my/skill-default.jpg' %>"
                                         class="largeImg"
                                         alt=""
                                         title="点击查看大图">
                                    <div class="name"
                                         title="<%= item.languageName + ' ' + item.userCertificateName + ' ' + item.userCertificateLevel %>"
                                    ><%= item.languageName + ' ' + item.userCertificateName + ' ' + item.userCertificateLevel %></div>
                                    <div class="delete del_item" data-type="certificate" data-id="<%= item.id %>">删除</div>
                                </li>
                            <% } %>
                        </ul>
                    </div>
                <% } %>
                <% if(o_skillList.length){ %>
                    <div class="item">
                        <div class="type">其他类证书：</div>
                        <ul class="cnt">
                            <% for(var i = 0; i<o_skillList.length; i++){ %>
                                <% var item = o_skillList[i] %>
                                <li>
                                    <img src="<%= item.userCertificatePath ? item.userCertificatePath : '/public/images/my/skill-default.jpg' %>"
                                         class="largeImg"
                                         alt=""
                                         title="点击查看大图">
                                    <div class="name"
                                         title="<%= item.userCertificateName %>"><%= item.userCertificateName %></div>
                                    <div class="delete del_item" data-type="certificate" data-id="<%= item.id %>">删除</div>
                                </li>
                            <% } %>
                        </ul>
                    </div>
                <% } %>
            </div>
        </div>
        <div class="resume-item">
            <div class="target-title" id="resume_self"></div>
            <div class="resume-title">自我评价
                <% if(selfLabel.personalityLabel || selfLabel.selfEvaluation){ %>
                    <a href="javascript:;" class="edit-icon toggle_form label_form" data-type="resume_self">编辑</a>
                    <div class="data"><%= JSON.stringify(selfLabel) %></div>
                <% } %>
            </div>
            <div class="resume-self infoItem">
                <div class="label">
                    <% if(selfLabel.personalityLabel){ %>
                        <% labels = selfLabel.personalityLabel.split(',') %>
                        <% for(var i = 0; i<labels.length; i++){ %>
                            <span class="label"><%= labels[i] %></span>
                        <% } %>
                    <% } %>
                </div>
                <div class="cnt"><%- selfLabel.selfEvaluation && selfLabel.selfEvaluation.replace(/\n/g, '<br>') %></div>
            </div>
            <form class="layui-form labelForm fillItem <%= (selfLabel.personalityLabel || selfLabel.selfEvaluation) ? 'hidden' : ''  %>">
                <div class="layui-form-item max label defaultLabel">
                    <a href="javascript:;" class="moreLabel">更多></a>
                    <label>善于沟通</label>
                    <label>适应能力强</label>
                    <label>态度积极</label>
                    <label>思路清晰</label>
                    <label>协调能力强</label>
                    <label>有创造力</label>
                    <label>注重细节</label>
                    <label>目标导向</label>
                    <label>工作勤奋</label>
                    <label>爱运动</label>
                    <label>乐观自信</label>
                    <label>有责任心</label>
                    <label>自我激励</label>
                    <label>团队精神</label>
                    <label>会展特派员</label>
                    <label>笔译小白</label>
                    <label>中二青年</label>
                    <label>时尚辣妈</label>
                    <label>口译达人</label>
                    <label>学生族</label>
                    <label>小说控</label>
                    <label>游戏宅</label>
                    <label>个性潮流00后</label>
                    <label>养生防脱发90后</label>
                    <label>佛系养生80后</label>
                    <label>向阳而生70后</label>
                    <label>海龟精英</label>
                    <label>法律系</label>
                    <label>歪果仁</label>
                </div>
                <div class="layui-form-item max label selfLabel">
                    <span class="selfDefineLabel">+自定义</span>
                </div>
                <div class="layui-form-item max">
                    <div class="remark">
                        <textarea name="short" class="layui-textarea maxPutLength" placeholder="一句话介绍自己"></textarea>
                        <span class="max-length maxLength" data-max="300">0/300</span>
                    </div>
                </div>
                <div class="layui-form-item max">
                    <button class="layui-btn" type="button" lay-submit lay-filter="resume_self_btn">确定</button>
                    <% if(selfLabel.personalityLabel || selfLabel.selfEvaluation){ %>
                        <button class="layui-btn layui-btn-primary toggle_form" type="button">取消</button>
                    <% } %>
                </div>
            </form>
        </div>
    </section>
    <section class="resume-short">
        <% if(baseDetail.userName){ %>
            <span class="download">把这份简历保存到本地</span>
        <% } %>
        <% if(resumeGmtUpdate){ %>
            <span class="update">简历更新于<%= resumeGmtUpdate.slice(0, 16) %></span>
        <% } %>
    </section>
</div>

<script type="text/html" id="tempt_resume_post">
    <form class="layui-form resume_post">
        <div class="layui-form-item">
            <label class="layui-form-label">职位名称</label>
            <input type="text" name="post" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">职位类型</label>
            <input type="text" name="postType" class="layui-input select-icon post_pickerPostType" value="不限" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工作类型</label>
            <input type="text" name="workType" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工作城市</label>
            <input type="text" name="city" class="layui-input select-icon post_pickerCity" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item min-max">
            <label class="layui-form-label">薪资要求</label>
            <input type="text" name="min" class="layui-input select-icon selectSalary" data-value="" readonly required lay-verify="required" placeholder="最低薪资"> -
            <input type="text" name="max" class="layui-input select-icon selectSalary" data-value="" readonly required lay-verify="required" placeholder="最高薪资">
        </div>
        <div class="layui-form-item max">
            <button class="layui-btn" type="button" lay-submit lay-filter="resume_post_btn">确定</button>
            <button class="layui-btn layui-btn-primary cancel_form" type="button">取消</button>
        </div>
    </form>
</script>
<script type="text/html" id="tempt_resume_language">
    <form class="layui-form resume_language">
        <div class="layui-form-item">
            <label class="layui-form-label">母语</label>
            <input type="text" name="motherLan" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item" style="margin-right: 200px">
            <label class="layui-form-label">翻译年限（选填）</label>
            <input type="text" name="transYear" class="layui-input select-icon selectMenu" readonly placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">第一外语</label>
            <input type="text" name="firstLan" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item" style="margin-right: 200px">
            <label class="layui-form-label">&nbsp;</label>
            <input type="text" name="firstLanLevel" class="layui-input" autocomplete="off" required lay-verify="required" placeholder="请输入对应等级">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">第二外语（选填）</label>
            <input type="text" name="secondLan" class="layui-input select-icon selectMenu" readonly placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">&nbsp;</label>
            <input type="text" name="secondLanLevel" class="layui-input" autocomplete="off" placeholder="请输入对应等级">
        </div>
        <div class="layui-form-item max">
            <button class="layui-btn" type="button" lay-submit lay-filter="resume_language_btn">确定</button>
            <button class="layui-btn layui-btn-primary cancel_form" type="button">取消</button>
        </div>
    </form>
</script>
<script type="text/html" id="tempt_resume_work">
    <form class="layui-form resume_work">
        <div class="layui-form-item">
            <label class="layui-form-label">企业名称</label>
            <input type="text" name="company" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">行业类别</label>
            <input type="text" name="industry" class="layui-input select-icon post_pickerIndustry" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">职业名称</label>
            <input type="text" name="workName" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">在职时间</label>
            <input type="text" name="rangeTime" class="layui-input date-input workRangeTime" readonly required lay-verify="required" placeholder="请选择">
            <input type="checkbox" name="toNow" lay-filter="date_to_now" lay-chain="workRangeTime" title="至今" >
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">工作地点</label>
            <input type="text" name="location" class="layui-input select-icon post_pickerCity" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item max">
            <label class="layui-form-label">工作内容</label>
            <div class="remark">
                <textarea name="workContent" class="layui-textarea maxPutLength" required lay-verify="required" placeholder="请输入"></textarea>
                <span class="max-length maxLength" data-max="1500">0/1500</span>
            </div>
        </div>
        <div class="layui-form-item max">
            <button class="layui-btn" type="button" lay-submit lay-filter="resume_work_btn">确定</button>
            <button class="layui-btn layui-btn-primary cancel_form" type="button">取消</button>
        </div>
    </form>
</script>
<script type="text/html" id="tempt_resume_project">
    <form class="layui-form resume_project">
        <div class="layui-form-item">
            <label class="layui-form-label">项目名称</label>
            <input type="text" name="project" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业名称</label>
            <input type="text" name="companyPro" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目时间</label>
            <input type="text" name="rangeTime" class="layui-input date-input projectRangeTime" readonly required lay-verify="required" placeholder="请选择">
            <input type="checkbox" name="toNow" lay-filter="date_to_now" lay-chain="projectRangeTime" title="至今" >
        </div>
        <div class="layui-form-item max">
            <label class="layui-form-label">项目描述</label>
            <div class="remark">
                <textarea name="projectContent" class="layui-textarea maxPutLength" required lay-verify="required" placeholder="请输入"></textarea>
                <span class="max-length maxLength" data-max="1500">0/1500</span>
            </div>
        </div>
        <div class="layui-form-item max">
            <button class="layui-btn" type="button" lay-submit lay-filter="resume_project_btn">确定</button>
            <button class="layui-btn layui-btn-primary cancel_form" type="button">取消</button>
        </div>
    </form>
</script>
<script type="text/html" id="tempt_resume_education">
    <form class="layui-form resume_education">
        <div class="layui-form-item">
            <label class="layui-form-label">学校名称</label>
            <input type="text" name="school" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item" style="margin-right: 200px">
            <label class="layui-form-label">学历</label>
            <input type="text" name="degree" class="layui-input select-icon selectMenu" readonly required lay-verify="required" placeholder="请选择">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">专业名称</label>
            <input type="text" name="major" class="layui-input maxPutLength" autocomplete="off" required lay-verify="required" placeholder="请输入" title="内容长度不超过50个字符">
            <span class="hidden maxLength" data-max="50"></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">在校时间</label>
            <input type="text" name="rangeTime" class="layui-input date-input eduRangeTime" readonly required lay-verify="required" placeholder="请选择">
            <input type="checkbox" name="toNow" lay-filter="date_to_now" lay-chain="eduRangeTime" title="至今">
        </div>
        <div class="layui-form-item max">
            <label class="layui-form-label">在校经历（选填）</label>
            <div class="remark">
                <textarea name="eduContent" class="layui-textarea maxPutLength" placeholder=""></textarea>
                <span class="max-length maxLength" data-max="800">0/800</span>
            </div>
        </div>
        <div class="layui-form-item max">
            <button class="layui-btn" type="button" lay-submit lay-filter="resume_education_btn">确定</button>
            <button class="layui-btn layui-btn-primary cancel_form" type="button">取消</button>
        </div>
    </form>
</script>
<script type="text/html" id="tempt_resume_skill">
    <form class="layui-form">
        <div class="layui-form-item max skill">
            <span>语言类证书</span>
            <div>
                <select class="languageType select" lay-ignore>
                    <option value="">请选择语种</option>
                </select>
                <select class="certificateName select" lay-ignore>
                    <option value="">请选择证书名称</option>
                </select>
                <select class="certificateLevel select" lay-ignore>
                    <option value="">请选择证书等级</option>
                </select>
                <div class="wrap certificateWrap hidden">
                    <input type="text" class="layui-input languageType" placeholder="请输入语种">
                    <input type="text" class="layui-input certificateName" placeholder="请输入证书名称">
                    <input type="text" class="layui-input certificateLevel" placeholder="请输入证书等级">
                </div>
                <div class="upload">
                    上传证书（选填）：
                    <input type="file"
                           class="choseCertificateFile"
                           accept="image/jpg,image/jpeg,image/png">
                </div>
                <button class="layui-btn upload_certificate_btn" type="button">提交</button>
            </div>
        </div>
        <div class="layui-form-item max skill">
            <span>其他类证书</span>
            <div>
                <select class="otherCertificate select" lay-ignore>
                    <option value="">请选择证书名称</option>
                    <option value="计算机等级考试">计算机等级考试</option>
                    <option value="NPDP产品经理认证">NPDP产品经理认证</option>
                    <option value="全国CAD技能等级证书">全国CAD技能等级证书</option>
                    <option value="会计从业者资格证">会计从业者资格证</option>
                    <option value="审计师">审计师</option>
                    <option value="教师资格证">教师资格证</option>
                    <option value="对外汉语教师资格证">对外汉语教师资格证</option>
                    <option value="人力资源管理师">人力资源管理师</option>
                    <option value="经济师">经济师</option>
                    <option value="法律职业资格证书">法律职业资格证书</option>
                    <option value="其他">其他</option>
                </select>
                <input type="text" class="layui-input hidden otherCertificateName" placeholder="请输入证书名称">
                <div class="upload">
                    上传证书（选填）：
                    <input type="file"
                           class="choseCertificateFile other"
                           accept="image/jpg,image/jpeg,image/png">
                </div>
                <button class="layui-btn upload_certificate_btn other" type="button">提交</button>
            </div>
        </div>
        <i class="layui-icon layui-icon-about certificate1"
           data-tips="仅支持png/jpg/jpeg图片文件，大小不超过5M"
           onmouseenter="layer.tips(this.getAttribute('data-tips'), '.certificate1', {tips: 1, time: 30000})"
           onmouseleave="$('.layui-layer-tips').remove()"></i>
    </form>
</script>
<script type="text/javascript" src="/static/js/jquery.selectmenu.js" defer async></script>
<script type="text/javascript" src="/public/js/plugin.js"></script>
<script type="text/javascript" src="/public/js/modules/my.js"></script>
<script type="text/javascript">

    gb_config_obj.init_resume();
</script>